package com.gl.multipleyes

class User {
	String externalId
	String externalToken
	String name
	Date lastUpdated
	
	static hasMany = [invitations: Invitation]
	
    static constraints = {
		externalId unique:true, nullable: false, blank: false
		name nullable: false, blank: false
		externalToken nullable:true 
    }
}
